package sch.frog.behavioral.command;

public class CommandDemo {

    public static void main(String[] args){
        Invoker invoker = new Invoker();

        invoker.setCommand(new ConcreteCommandA());
        invoker.call();

        invoker.setCommand(new ConcreteCommandB());
        invoker.call();

    }
}
